package com.bree.erp.service;

import java.util.Collection;

import com.bree.erp.entity.BrandSeller;
import com.bree.erp.entity.MasterItem;
import com.bree.erp.entity.Unit;

public interface MasterItemService extends Crud<MasterItem, Long> {

	MasterItem create(BrandSeller seller, String name, String description);
	MasterItem read(Long id);
	MasterItem update(Long id, String name, String description);
	MasterItem update(Long id, BrandSeller seller);
	void delete(Long id);
	
	Collection<MasterItem> list();
	MasterItem findByName(String name);
	
}
